package com.robotserver.orders.mapper;

import com.robotserver.orders.entity.DyOrders;
import com.robotserver.orders.param.biz.DyOrderPullParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * DyOrdersMapper继承基类
 */
@Repository
public interface DyOrdersMapper {
    void add(DyOrders dyOrders);
    
    void update(DyOrders dyOrders);

    DyOrders getByOrderId(@Param("orderId") String orderId);

    List<DyOrders> getOrderList(DyOrderPullParam param);

    List<DyOrders> getOrderListNew(DyOrderPullParam param);

    void deleteOrdersExpired(@Param("expiredTime") Integer expiredTime);

    void updateUpdateTime(@Param("childOrderNo") String childOrderNo);
}